package com.supreme.studyserver.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.supreme.studyserver.annotation.SqlFilter;
import com.supreme.studyserver.entity.MysqlTest;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@SqlFilter(filterTest = true)
@Repository
public interface MysqlTestMapper extends BaseMapper<MysqlTest> {

    @SqlFilter
    List<MysqlTest> selectTestList(MysqlTest test);

    List<MysqlTest> selectTestList2(JSONObject test);

    int insertTest(MysqlTest test);

    int batchInsertTest(List<MysqlTest> testList);
}
